package cn.iocoder.yudao.module.crm.controller.admin.course.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 课程 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CourseRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "6465")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "父id", example = "7996")
    @ExcelProperty("父id")
    private Long parentId;

    @Schema(description = "课程名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("课程名称")
    private String name;

    @Schema(description = "课程图片", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("课程图片")
    private String icon;

    @Schema(description = "展示顺序")
    @ExcelProperty("展示顺序")
    private Integer sort;

    @Schema(description = "课程类型", example = "2")
    @ExcelProperty("课程类型")
    private String type;

    @Schema(description = "课程展现类型", example = "2")
    @ExcelProperty("课程展现类型")
    private String showType;

    @Schema(description = "所属目录", example = "16305")
    @ExcelProperty("所属目录")
    private Long subjectId;

    @Schema(description = "老师")
    @ExcelProperty("老师")
    private Set<Long> teacherIds;

    @Schema(description = "课程课时")
    @ExcelProperty("课程课时")
    private Integer classHour;

    @Schema(description = "标识0:课程，1:目录")
    @ExcelProperty("标识0:课程，1:目录")
    private Integer flag;

    @Schema(description = "是否已禁用。{ 0：正常；1：禁用；}", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否已禁用。{ 0：正常；1：禁用；}")
    private Integer status;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}